-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Reload KnnVectorsFormat in Lucene SPI registry when a Plugin is loaded #129197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload KnnVectorsFormat in Lucene SPI registry when a Plugin is loaded #129197
Conversation
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
|
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
|
This seems more related to vector search. @elastic/search-relevance folks, feel free to send it back to me otherwise. |
ChrisHegarty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tteofili
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good to me, thx @Rassyan !
|
buildkite test this |
In order for plugins to extend Lucene's KnnVectorsFormat, we need to reload it along with other Lucene SPIs when the plugin classloader is created. This commit adds the call to KnnVectorsFormat.reloadKnnVectorsFormat(loader) in reloadLuceneSPI method, allowing full extension of Lucene's vector functionality through plugins.
In order for plugins to extend Lucene's KnnVectorsFormat, we need to reload it along with other Lucene SPIs when the plugin classloader is created. This commit adds the call to KnnVectorsFormat.reloadKnnVectorsFormat(loader) in reloadLuceneSPI method, allowing full extension of Lucene's vector functionality through plugins.
In order for plugins to extend Lucene's KnnVectorsFormat, we need to reload
it along with other Lucene SPIs when the plugin classloader is created.
This commit adds the call to
KnnVectorsFormat.reloadKnnVectorsFormat(loader)in
reloadLuceneSPImethod, allowing full extension of Lucene's vector functionality through plugins.